package com.ethan.cj.ssm.entity;

import java.util.Date;

/**
 * 后台操作员所在部门类
 */
public class BackDept {
    private int bdid; //后台操作员所属部门编号
    private String bdname;//后台操作员所属部门名称
    private Date addtime;//添加时间
    private int pnumber;//所属部门的后台操作员的数量
    private String addpeople;//添加这个部门的后台管理员的姓名

    public BackDept() {
    }

    public BackDept(int bdid, String bdname, Date addtime, int pnumber, String addpeople) {
        this.bdid = bdid;
        this.bdname = bdname;
        this.addtime = addtime;
        this.pnumber = pnumber;
        this.addpeople = addpeople;
    }

    public int getBdid() {
        return bdid;
    }

    public void setBdid(int bdid) {
        this.bdid = bdid;
    }

    public String getBdname() {
        return bdname;
    }

    public void setBdname(String bdname) {
        this.bdname = bdname;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public int getPnumber() {
        return pnumber;
    }

    public void setPnumber(int pnumber) {
        this.pnumber = pnumber;
    }

    public String getAddpeople() {
        return addpeople;
    }

    public void setAddpeople(String addpeople) {
        this.addpeople = addpeople;
    }

    @Override
    public String toString() {
        return "BackDept{" +
                "bdid=" + bdid +
                ", bdname='" + bdname + '\'' +
                ", addtime=" + addtime +
                ", pnumber=" + pnumber +
                ", addpeople='" + addpeople + '\'' +
                '}';
    }
}
